import { RESPONSE } from "../Types/Api/base"
import { Tag } from "../Types/Api/tagType"
import { request } from "./base"

enum API {
  GET_ALL_TYPE = "/api/type",
}
// {code, data, msg}
export const reqAllType = () =>
  request.get<null, RESPONSE<Tag[]>>(API.GET_ALL_TYPE)
